/******************************************************************************
 * (C) Copyright 2013 Atech-Automotive
 * FILE NAME:    hwa_e2_callback.h
 * DESCRIPTION:
 * 
 * DATE BEGUN:   
 * BY:                         
 * PRODUCT NAME:
 * APPLICATION:
 * TARGET H/W:
 * DOC REF:
 *****************************************************************************
 */

#ifndef _HWA_E2_CALLBACK_H_
#define _HWA_E2_CALLBACK_H_

/*****************************************************************************
**  typedef
*****************************************************************************/

/*****************************************************************************
**#include 
*****************************************************************************/
#include "system.h"
#include "hwa_e2_Cfg.h"


/*****************************************************************************
** System Macro Definition
*****************************************************************************/
/*****************************************************************************
** System Macro Definition
*****************************************************************************/
typedef enum
{

	E2_ADDR_DTC0               = E2_DATA5_ID,

	E2_ADDR_ECU_APPFINGER_NUM_1   = E2_DATA10_ID,	 
	E2_ADDR_ECU_APPFINGER_NUM_2   = E2_DATA11_ID,	 
	E2_ADDR_ECU_APPFINGER_NUM_3   = E2_DATA12_ID,	

	E2_ADDR_VIN_NUM_1		   = E2_DATA14_ID,	
	E2_ADDR_VIN_NUM_2		   = E2_DATA15_ID,	
	E2_ADDR_VIN_NUM_3		   = E2_DATA16_ID,	
	E2_ADDR_VIN_NUM_4		   = E2_DATA17_ID,	
	E2_ADDR_VIN_NUM_5		   = E2_DATA18_ID,	   

} EE_AddrIndex_E;

//#define E2_ADDR_ESCL_SK		          E2_DATA0_ID
//#define E2_ADDR_ECU_SERIAL_NUM_1	  E2_DATA1_ID 
//#define E2_ADDR_ECU_SERIAL_NUM_2	  E2_DATA2_ID 
//#define E2_ADDR_PROD_LINE_DATE		  E2_DATA3_ID 
//#define E2_ADDR_PROD_LINE_INFO	      E2_DATA4_ID 
//#define E2_ADDR_DTC0					  E2_DATA5_ID

#if (NUM_OF_E2_ID == NUM_OF_E2_64_ID)



#endif //#if (NUM_OF_E2_ID == NUM_OF_E2_64_ID)
 

/*****************************************************************************
** Variables
*****************************************************************************/
/*
**  Variable name: c_b_e2_cfg_enable_vbat_check_flag
**                
**  Description: whether enable check vbat voltage 
**  Possible Value: ON
**                  OFF
**
*/
extern const BOOL  c_b_e2_cfg_enable_vbat_check_flag;

/*
**  Variable name: c_u8_e2_cfg_vbat_limit_value
**                
**  Description: the value of vbat will be checked when read/write eeprom
**  Possible Value: UINT8
**
*/
extern const UINT8 c_u8_e2_cfg_vbat_limit_value;


/*****************************************************************************
** Constants
*****************************************************************************/


/*****************************************************************************
** Function prototypeseb
*****************************************************************************/
/****************************************************************************/
/**
 * Function Name: hwa_e2GetVBat
 * Description: none
 *
 * Param:   none
 * Return:  none
 * Author:                   
 ****************************************************************************/
UINT8 hwa_e2GetVBat( void );


/*****************************************************************************
** other
*****************************************************************************/


/****************************************************************************/

#endif	//_HWA_E2_CALLBACK_H_

/*****************************************************************************
** End File
*****************************************************************************/

